<%@ page contentType="text/html; charset=UTF-8"%><%@ page
	contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="saturn" uri="http://www.ccut.edu.cn/saturn"%>
<%@page import="edu.ccut.saturn.component.SaturnData"%>
<%@page import="edu.ccut.saturn.component.SaturnMenuManager"%>
<%@page import="java.util.List"%>
<%@page import="java.util.ArrayList"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<style type="text/css">
body {
	font-size: 12px;
	width: 1002px;
	margin: 0 auto;
	padding: 0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

iframe {
	min-height: 500px;
	height: auto !important;
	height: 500px;
}
.top{
	
}
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>saturn</title>
<%@ include file="/jsp/include/header/meta.jsp"%>
<%@ include file="/jsp/include/header/javascript.jsp"%>
<%@ include file="/jsp/include/header/stylesheettag.jsp"%>
<link href="<%=request.getContextPath() %>/css/style.css"
	rel="stylesheet" type="text/css" />
</head>
<script language="javascript" type="text/javascript">
var dialogReturnValue = null;
function onCloseDialog(){
   	var dialogReturnValue = null;
   	if (window.event.clientX>document.body.clientWidth&&event.clientY<0||event.altKey){
   		//var   doCloseWindow  =   confirm("确定要关闭IE浏览器吗?");   
   		alert("确定要关闭IE浏览器吗?")
		window.returnValue = dialogReturnValue;
   	}
}
</script>
<body onbeforeunload="onCloseDialog()">
<%
	session.removeAttribute("__LOGIN_ERROR_MESSAGE__");
	SaturnData user = (SaturnData) session
			.getAttribute("__SATURN_AUTORITY_USER__");
	List allMenuInfosByMap = new ArrayList();
	String userSerialno = "";
	String userType = "";
	if (user != null) {
		userSerialno = user.getString("id");
		userType = user.getString("usertype");
	}
	allMenuInfosByMap.addAll((List)request.getAttribute("usermenu"));
	request.setAttribute("allMenuInfosByMap", allMenuInfosByMap);
%>
<div class="top" style="background: url(<%=request.getContextPath()%>/main.jpg) #02BDF0 repeat-x;">
<div id=""><label>用户:</label><strong><%=user.getString("username")%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong><label>用户IP:</label><strong><%=request.getRemoteAddr()%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong><span><a
	href="${pageContext.request.contextPath}/main.jsp" target="_parent"
	target="main" onclick="clean()"><font color="#f8000">主页</font></a> <a
	href="<%=request.getContextPath()%>/login.jsp">退出</a></span></div>
</div>
<script type="text/javascript">
</script>
<saturn:menubar id="menubar" menuId="menu" itemIdKey="id"
	itemParentIdKey="parentId" itemNameKey="id" itemLabelKey="label"
	value="${allMenuInfosByMap}" itemPathKey="path" target="main" />
<div id="menubar" class="nav"></div>
<div id="menubar_two" class="nav_s"></div>
<div id="menubar_three" class="nav_ss"></div>

<div class="main"><iframe frameborder="0" name="main" width="1002"
	scrolling="auto" src=""></iframe></div>
<div id="tail"><span>京ICP备06051668号 Powered by
DedeCMS&nbsp;备注</span></div>
<script language="javascript">new PraseItem();</script>
</body>
</html>
